package com.eies.business.dataprocess.adpter.remote.core;

import java.io.Serializable;

public class Response implements Serializable {
	protected String rtnCode;
	protected String code;
	protected String message;
	protected String rtnCont;

	public Response() {

	}
	public Response(String code, String message, String rtnCont) {
		this.rtnCode = "0";
		this.code = code;
		this.message = message;
		this.rtnCont = rtnCont;

	}
	public Response(String rtnCode, String code, String message, String rtnCont) {
		this.rtnCode = rtnCode;
		this.code = code;
		this.message = message;
		this.rtnCont = rtnCont;

	}

	public void setRtnCode(String rtnCode) {
		this.rtnCode = rtnCode;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setRtnCont(String rtnCont) {
		this.rtnCont = rtnCont;
	}

	public String getRtnCode() {
		return rtnCode;
	}

	public String getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

	public String getRtnCont() {
		return rtnCont;
	}

	public String toXml() {
		return ParseJsbw.getRtnYwbwTemplate(this);

	}

}
